package com.baizhi.service;

import com.baizhi.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 分类 服务类
 * </p>
 *
 * @author 2107class
 * @since 2021-12-22
 */
public interface CategoryService extends IService<Category> {

    List<Category> query();

    //根据id查询一个标签
    public Category queryOne(Integer id);
}
